package com.ait.edu.client;

import com.ait.commonutils.Msg;
import org.springframework.stereotype.Component;

import java.util.List;

/*

        hystrix
* 这个类是你的servic-oss宕机啦或者是超过时间是调用改类
*
* */
@Component
public class OssFileDegradeFeignClient implements Ossclient {
    @Override
    public Msg delVideo(String id) {
        return Msg.fail().message("删除视频出错");
    }

    @Override
    public Msg delBatchVideo(List<String> videoList) {
        return Msg.fail().message("删除多个视频出错");
    }
}
